package org.odk.collect.android.activities;

import android.content.Intent;

public interface CountListener
{
	public void OnCounted(String callerId, long count);
	
	/**
	 * The intent extra passed to the callee via
	 * {@link Intent#putExtra(String, String)}, which the callee passes
	 * back to the caller in {@link #OnCounted(String, long)} as the
	 * <code>callerId</code> parameter, to identify what exactly has
	 * been counted.
	 */
	public static final String INTENT_EXTRA_CALLER_ID = 
			"counted-callback-caller-id";
}